{% extends 'layout.html' %}

{% block main %}
<ol class="breadcrumb">
    <li><a href="/admin">管理首页</a></li>
    <li class="active">分类编辑</li>
</ol>

<h1 class="page-header">分类编辑</h1>

<form method="POST">
    <div class="form-group">
        <label for="categoryName">分类名称</label>
        <input type="text" class="form-control" value="{{category.name}}" id="categoryName" name="name" placeholder="请输入分类名称">
    </div>
    <button type="submit" class="btn btn-default">Submit</button>
</form>

{% endblock %}